@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="name" name="名称" value="${item.name}" underline="true"/>
                    <#input id="date" name="日期" underline="true" type="text"
                    value="${item.date}"/>

                    <#input id="roadnetName" name="事件所属" underline="true" value="${item.roadnetName}"
                    hidden="roadnetId" readonly="readonly" hiddenValue="${item.roadnetId}"
                    clickFun="AccidentHistoryInfoDlg.showStationTree(); return false;"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="stationTreeDiv" selectTreeId="stationTree"
                    selectStyle="width:244px !important;"/>

                    <#selectDict id="areaCode" name="区域" underline="true" value="${item.areaCode}" code="accidentArea"/>
                </div>

                <div class="col-sm-6">
                    <#selectDict id="rankCode" name="级别" underline="true" code="rank" value="${item.rankCode}" />
                    <#selectDict id="category" name="种类" underline="true" code="categoryCode" value="${item.category}" />
                    <#input id="detail" name="描述" value="${item.detail}" underline="true"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                    clickFun="AccidentHistoryInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                    clickFun="AccidentHistoryInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/yjya/accidentHistory/accidentHistory_info.js"></script>
@}
